package demo1;

public class KeyBoard implements USB {
    @Override
    public void closeDevice() {
        System.out.println("拔出键盘");
    }

    @Override
    public void openDevice() {
        System.out.println("插上键盘");
    }

    public void input(){
        System.out.println("敲击键盘");
    }
}
